@model System.Web.Mvc.HandleErrorInfo
@{
    Layout = null;
    ViewBag.Title = "Error";

    // Local variables
    var errorModel = Session["ERROR"] as Leads360Express.Repository.Generics.Models.BaseModel;

    string errorMessage = Session["ERROR_MESSAGE"] as string;
    if (String.IsNullOrEmpty(errorMessage))
    {
        Exception ex = (null != Model && null != Model.Exception) ? Model.Exception : Server.GetLastError();
        if (null != ex)
        {
            // DEBUG
            Leads360Express.MvcApplication.Logger.Error("Unhandled error:", ex);
            errorMessage = ex.GetBaseException().Message;
        }
    }
}
<!DOCTYPE html>
<html lang="en" class="full-width">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title - Leads360 Lead  Sales Lead CRM | Manage, Track &amp; Close Leads 360</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />

    <link rel="stylesheet" type="text/css" href="~/Content/jquery-ui-1.8.23.custom.css" media="all" />
    <link rel="stylesheet" type="text/css" href="~/Content/jquery-ui-timepicker-addon.css" />
    <link rel="stylesheet" type="text/css" href="~/Content/global.css" />
    <link rel="stylesheet" type="text/css" href="~/Content/popup.css" />
    <link rel="stylesheet" type="text/css" href="~/Content/menu.css" />
    <!--[if IE 7]><link rel="stylesheet" type="text/css" href="~/Content/ie7.css" media="all" /><![endif]-->
    <!--[if IE 8]><link rel="stylesheet" type="text/css" href="~/Content/ie8.css" media="all" /><![endif]-->

    <!--[if lt IE 9]>
        <script type="text/javascript" src="~/Scripts/html5.js"></script>
        <script type="text/javascript" src="~/Scripts/PIE.js"></script>
    <![endif]-->
    <script type="text/javascript" src="~/Scripts/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="~/Scripts/jquery.validate.js"></script>
    <script type="text/javascript" src="~/Scripts/knockout-latest.js"></script>
    <script type="text/javascript" src="~/Scripts/knockout.validation.js"></script>
    <script type="text/javascript" src="~/Scripts/jquery-ui-1.8.23.custom.min.js"></script>
    <script type="text/javascript" src="~/Scripts/jquery-ui-timepicker-addon.js"></script>
    <script type="text/javascript" src="~/Scripts/jquery.qtip-1.0.0-rc3.min.js"></script>
    <script type="text/javascript" src="~/Scripts/fancybox.js"></script>
    <script type="text/javascript" src="~/Scripts/flowplayer.min.js"></script>
    <script type="text/javascript" src="~/Scripts/global.js"></script>
    <script type="text/javascript" src="~/Scripts/jquery.main.js"></script>
    <script type="text/javascript" src="~/Scripts/superfish.js"></script>
    <script type="text/javascript" src="~/Scripts/common.ultis.js"></script>
    <script type="text/javascript" src="~/Scripts/jquery.cookie.js"></script>
</head>
<body class="leads-view">
    <div id="wrapper">
        <div class="w1">
            <div id="header">
                <h1 class="logo"><span>Leads360Express</span></h1>
                @if (null != errorModel)
                {
                    @Html.Partial("_PartialHeader", errorModel.Header)
                    @Html.Partial("_PartialMenuItems", errorModel.Menu)
                    @Html.Partial("_PartialHeaderSearch", errorModel.Header)
                }
            </div>
            <div class="clear"></div>

            <div id="main">
                <div class="container">
                    <form action="#" class="form">
                        <fieldset>
                            <div class="content" style="height: 808px;">
                                <div class="error-msg"><span>@errorMessage</span></div>
                                <p class="copy">&copy; Copyright 2013 Leads360, Inc.</p>
                            </div><!-- //.content -->
                        </fieldset>
                    </form>
                </div>
            </div><!-- //#main -->
        </div>
    </div>

    <div id="tooltip" style="display: none;">
        <h3></h3>
        <div class="body"></div>
        <div class="url"></div>
    </div>
    @Html.Partial("_ProcessingPopup")

</body>
</html>
